package elearning.controller.admin.regist;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import elearning.service.ElearningService;

public class DeleteController extends Controller {

	private ElearningService service = new ElearningService();

	@Override
	public Navigation run() {
		service.delete(asKey("key"), asLong("version"));
		return redirect(basePath);
	}
}
